﻿using System;

namespace MessagePack.Decoders
{
	// Token: 0x02000072 RID: 114
	internal class Map16Header : IMapHeaderDecoder
	{
		// Token: 0x06000219 RID: 537 RVA: 0x0000B0C1 File Offset: 0x000094C1
		private Map16Header()
		{
		}

		// Token: 0x0600021A RID: 538 RVA: 0x0000B0C9 File Offset: 0x000094C9
		public uint Read(byte[] bytes, int offset, out int readSize)
		{
			readSize = 3;
			return (uint)((int)bytes[offset + 1] << 8 | (int)bytes[offset + 2]);
		}

		// Token: 0x0400009D RID: 157
		internal static readonly IMapHeaderDecoder Instance = new Map16Header();
	}
}
